package com.qyer.lxp.model.orderstatus.normal;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * 订单状态
 * Created by wangzhen on 16/6/24.
 */
@XmlRootElement(name = "order-item-status")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderItems implements Serializable{

    private static final long serialVersionUID = -1051070707474561214L;

    /**
     * 分销商的订项 refer
     */
    @XmlElement(name = "distributor-order-item-refer")
    private String distributorOrderItemRefer;

    /**
     * 订项 cd
     */
    @XmlElement(name = "order-item-cd")
    private String orderItemCd;

    /**
     * 状态 code 见附录
     */
    @XmlElement(name = "status")
    private String status;

    /**
     * 凭证 url
     */
    @XmlElementWrapper(name = "voucher-urls")
    @XmlElement(name = "voucher-url")
    private List<String> voucherUrls;

    /**
     *
     */
    @XmlElementWrapper(name = "refund-statuses")
    @XmlElement(name = "refund-status")
    private List<RefundStatus> refundStatuses;

    public String getDistributorOrderItemRefer() {
        return distributorOrderItemRefer;
    }

    public void setDistributorOrderItemRefer(String distributorOrderItemRefer) {
        this.distributorOrderItemRefer = distributorOrderItemRefer;
    }

    public String getOrderItemCd() {
        return orderItemCd;
    }

    public void setOrderItemCd(String orderItemCd) {
        this.orderItemCd = orderItemCd;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<String> getVoucherUrls() {
        return voucherUrls;
    }

    public void setVoucherUrls(List<String> voucherUrls) {
        this.voucherUrls = voucherUrls;
    }

    public List<RefundStatus> getRefundStatuses() {
        return refundStatuses;
    }

    public void setRefundStatuses(List<RefundStatus> refundStatuses) {
        this.refundStatuses = refundStatuses;
    }
}
